<p>
    Write a program that sorts an array of 32-bit floating-point numbers in ascending order. You are free to choose any sorting algorithm.
</p>

<h2>Implementation Requirements</h2>
<ul>
    <li>Use only native features (external libraries are not permitted)</li>
    <li>The <code>solve</code> function signature must remain unchanged</li>
    <li>The sorted result must be stored back in the input <code>data</code> array</li>
</ul>

<h2>Example</h2>
<pre>
Input: data = [5.0, 2.0, 8.0, 1.0, 9.0, 4.0], N = 6
Output: data = [1.0, 2.0, 4.0, 5.0, 8.0, 9.0]
</pre>

<h2>Constraints</h2>
<ul>
    <li>1 ≤ <code>N</code> ≤ 1,000,000</li>
</ul> 